<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>main test page</title>
<script type="text/javascript" src="assets/jquery-1.11.2.min.js"></script>
<body>
<iframe id="weibo_auth_page" src="weibo_callback.html"></iframe>
<script type="text/javascript">
$(window).on("message", function(event){
	console.log("main page: new message: %s", event.originalEvent.data);
	console.log(event);
});
</script>
</body>
</html>